from django.urls import path
from BloodSpiderAPI.apis.product import request

urlpatterns = [
    # 创建商品
    path("create_product/", request.create_product, name="创建商品"),
    
    # 获取单个商品
    path("get_product/", request.get_product, name="获取单个商品"),
    
    # 更新商品
    path("update_product/", request.update_product, name="更新商品"),
    
    # 删除商品
    path("delete_product/", request.delete_product, name="删除商品"),
    
    # 获取全部商品列表
    path("get_product_list/", request.get_product_list, name="获取商品列表"),
]